<#if packageStyle == "service">
package com.sumavision.xscreen.live.persistence.entity;
<#else>
package ${sourceBasePackage}.entity.${entityPackage};
</#if>
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.sumavision.xscreen.base.persistence.entity.BaseEntity;

/**
 * 
 * @description  ${description}entity
 * @author       ${author}
 * @version      V5.1
 * @Date         ${createDate}
 *
 */
@Entity
@Table(name = "${tableName}")
public class ${className} extends BaseEntity  {
	
	private static final long serialVersionUID = 1L;
	
	<#list columns as po>
	<#if po.fieldName!="id"&&po.fieldName!="createAt"&&po.fieldName!="modifyAt">
	/**${po.description}*/
	@Column(length=${po.columnLength})
	private ${po.fieldType} ${po.fieldName};
	</#if>
	</#list>
	
	<#list columns as po>
	<#if po.fieldName!="id"&&po.fieldName!="createAt"&&po.fieldName!="modifyAt">
	/**
	 *方法: 取得${po.fieldType}
	 *@return: ${po.fieldType}  ${po.description}
	 */
	public ${po.fieldType} get${po.fieldName?cap_first}(){
		return this.${po.fieldName};
	}

	/**
	 *方法: 设置${po.fieldType}
	 *@param: ${po.fieldType}  ${po.description}
	 */
	public void set${po.fieldName?cap_first}(${po.fieldType} ${po.fieldName}){
		this.${po.fieldName} = ${po.fieldName};
	}
	</#if>
	</#list>
	
	public ${className}() {
		super();
	}
}
